using System.Net;
using MFWebSockets.Core.Contract.Delegates;
using MFWebSockets.Core.Contract.Enums;

namespace MFWebSockets.Core.Contract.Interfaces
{
    public interface IWebSocketClient
    {
        void Send(string message);

        void Connect();

        void Disconnect();

        event OpenHandler Open;

        event CloseHandler Close;

        event MessageHandler Message;

        ConnectionStatus ConnectionStatus { get; }
    }
}